package ligne2vie.topos.client.maps.proxy;

import com.google.gwt.maps.client.HasMap;
import com.google.gwt.maps.client.overlay.Marker;
import com.google.gwt.maps.client.overlay.impl.MarkerImpl;

public class MyMarker extends Marker {

	@Override
	public void setMap(HasMap map) {
		if (map == null) {
			MarkerImpl.impl.setMap(getJso(), null);
		} else {
			super.setMap(map);
		}
	}
}
